﻿using System;
using System.Collections.Generic;
using YiCheap.Core.Domain.Products;
using YiCheap.Core.Domain.Shops;
using YiCheap.Core.Domain.Users;

namespace YiCheap.Core.Domain.Posts
{
    public class Post :BaseEntity
    {
        public virtual User Owner { get; set; }

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public virtual string ProductName { get; set; }


        public virtual string ShortDescriptiion { get; set; }


        public virtual string FullDescription { get; set; }

        /// <summary>
        /// Gets or sets the picture binary
        /// </summary>
        public virtual byte[] PictureBinary { get; set; }


        /// <summary>
        /// Gets or sets the price
        /// </summary>
        public virtual decimal Price { get; set; }



        public virtual string ProductAtrributes { get; set; }


        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public virtual string ShopName { get; set; }


        public virtual string Province { get; set; }

        /// <summary>
        /// Gets or sets the city
        /// </summary>
        public virtual string City { get; set; }


        public virtual string District { get; set; }

        /// <summary>
        /// Gets or sets the address 1
        /// </summary>
        public virtual string Address1 { get; set; }


        /// <summary>
        /// Gets or sets the zip/postal code
        /// </summary>
        public virtual string ZipPostalCode { get; set; }

        /// <summary>
        /// Gets or sets the phone number
        /// </summary>
        public virtual string PhoneNumber { get; set; }



        public virtual DateTime CreatedDate { get; set; }

        public virtual bool Deleted { get; set; } 
    }

}